#include "TabChangedEvent.h"

namespace Impp{

// in der TurnEvent.cpp muss nun 'nur' noch der Event Definiert werden:
DEFINE_EVENT_TYPE(EVT_TAB_CHANGED) 

TabChangedEvent::TabChangedEvent(Tab* oldTab, Tab* newTab, wxEventType eventType, int id):
	wxNotifyEvent(eventType,id), 
	oldTab(oldTab), 
	newTab(newTab)
{
}

TabChangedEvent::~TabChangedEvent()
{
}

wxEvent* TabChangedEvent::Clone() const {
	return new TabChangedEvent(*this);
};

Tab* TabChangedEvent::getOldTab(){
	return oldTab;
}

Tab* TabChangedEvent::getNewTab(){
	return newTab;
}

}
